<script>
export default {
  name: 'LayoutPage',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<template>
  <div>
    <van-tabbar :route = "true" v-model="active" fixed>
      <van-tabbar-item to ="/article" icon="fire-o">面经</van-tabbar-item>
      <van-tabbar-item to ="/collect" icon="star-o">收藏</van-tabbar-item>
      <van-tabbar-item to ="/like" icon="like-o">喜欢</van-tabbar-item>
      <van-tabbar-item to ="/user" icon="manager-o">我的</van-tabbar-item>
    </van-tabbar>
    <router-view></router-view>
  </div>
</template>

<style scoped></style>
